package com.example.service;

import com.example.pojo.Department;

import java.util.List;

/**
 * @program: personnel-management
 * @description: 部门服务层接口
 * @author: ChenZhiXiang
 * @create: 2019-07-16 16:12
 **/
public interface IDepartmentService {

    int addDep(Department department);

    int deleteDep(Long did);

    List<Department> getDepByPid(Long pid);

    List<Department> getAllDeps();
}
